package com.waa.gulimall.product.feign;

import com.waa.gulimall.common.utils.R;
import com.waa.gulimall.product.vo.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-ware")
@Component
public interface WareFeignService {
    @PostMapping("/ware/waresku/hasStock")
     R getSkuHasStock(@RequestBody List<Long> SkuIds);


}
